home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: news.kei.com!wang!news
- From: emild@cs.technion.ac.il (Kohn Emil Dan)
- Subject: Re: Intel CPU determination in C?
- Organization: Technion, Israel Institute of Technology
- Date: Sun, 31 Dec 1995 14:19:49 GMT
- Message-ID: <Pine.SV4.3.91-heb-2.04.951231161631.21129A-100000@cs.technion.ac.il>
- References: <1995Dec30.024206.1@vaxa>
- Sender: news@wang.com
-
-
-
- On 30 Dec 1995 drosenblum1@vaxa.hofstra.edu wrote:
-
- > Does anyone have/know of any Turbo C, Borland C or Visual C code that
- > determines the type of CPU a computer has?
- >
- >
- >
-
- You can't do such thing in C. Routines determining the CPU type are
- typically written in assembly language. Try Michael Tischer's book
- "PC-Intern System programming". You will find there an assembly language
- routine that does exactly what you want.
-
- Best regards, and
-
- A happy new year!
-
-
- Emil
-